package com.shensi.adminCollect.service.customer.impl;

import com.shensi.common.core.domain.entity.SysEnterprise;
import com.shensi.adminCollect.domain.customer.PayOrderCard;
import com.shensi.adminCollect.mapper.customer.CustomerEnterpriseMapper;
import com.shensi.adminCollect.service.customer.ICustomerStationEnterprisedService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;



@Service
public class CustomerStationEnterprisedServiceImpl implements ICustomerStationEnterprisedService {
    @Resource
    private CustomerEnterpriseMapper customerEnterpriseMapper;

    @Override
    public SysEnterprise getEnterpriseByStationId(Integer stationId) {
        return customerEnterpriseMapper.getEnterpriseByStationId(stationId);
    }

    @Override
    public PayOrderCard selectPayOrderByoOrderNo(String orderNo) {
       return customerEnterpriseMapper.selectPayOrderByoOrderNo(orderNo);
    }
}
